package com.sohoometer.heatMeter.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.nari.coreframe.service.GenericServiceImpl;
import com.nari.platform.model.PageCond;
import com.nari.platform.model.ResultWithPageCond;
import com.sohoometer.heatMeter.bean.HeatMeterDataExceptionResult;
import com.sohoometer.heatMeter.dao.HeatMeterDataExceptionResultDao;

@Service("heatMeterDataExceptionResultService")
public class HeatMeterDataExceptionResultServiceImpl 	extends GenericServiceImpl<HeatMeterDataExceptionResult, String> implements
HeatMeterDataExceptionResultService {
@Autowired
private HeatMeterDataExceptionResultDao heatMeterDataExceptionResultDao;  
	
@Autowired
public HeatMeterDataExceptionResultServiceImpl(HeatMeterDataExceptionResultDao heatMeterDataExceptionResultDao) {
	this.heatMeterDataExceptionResultDao=heatMeterDataExceptionResultDao;
	setiGenericDao(heatMeterDataExceptionResultDao);
}

@Override
public ResultWithPageCond<HeatMeterDataExceptionResult> queryResultByQueryAndExceptionType(
		String queryId, int exceptionType, PageCond pageCond) {
	return heatMeterDataExceptionResultDao.queryResultByQueryAndExceptionType(
			queryId, exceptionType, pageCond);
}
	
}
